import request from '@/utils/request'

export function getVideoInfos(query) {
  return request({
    url: '/basic/videoInfo/getVideoInfos',
    method: 'get',
    params: query
  })
}

// 查询视频信息配置列表
export function listVideoInfo(query) {
  return request({
    url: '/basic/videoInfo/list',
    method: 'get',
    params: query
  })
}

// 查询视频信息配置详细
export function getVideoInfo(id) {
  return request({
    url: '/basic/videoInfo/' + id,
    method: 'get'
  })
}

// 新增视频信息配置
export function addVideoInfo(data) {
  return request({
    url: '/basic/videoInfo',
    method: 'post',
    data: data
  })
}

// 修改视频信息配置
export function updateVideoInfo(data) {
  return request({
    url: '/basic/videoInfo',
    method: 'put',
    data: data
  })
}

// 删除视频信息配置
export function delVideoInfo(id) {
  return request({
    url: '/basic/videoInfo/' + id,
    method: 'delete'
  })
}

// 导出视频信息配置
export function exportVideoInfo(query) {
  return request({
    url: '/basic/videoInfo/export',
    method: 'get',
    params: query
  })
}
